package com.ca.ridersclubapplication.request.dto;

import com.ca.ridersclubapplication.data.entity.Handleable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class PaperCardDto implements Handleable {

    private Long id;
    private Long authorId;
    private String authorName;
    private String title;
    private String content;
    private Long supportCount;
    private Long commentCount;
    private String time;
    private Long clubId;
    private String clubName;
    private Long commentId;
    private Long commentSupportCount;
    private String commentAccountName;
    private String commentContent;

    @Override
    public String getKey() {
        return "PaperCardDto:" + id;
    }
}
